package com.xwaf.platform.system.provider.serviceimpl.pay;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.plugins.Page;
import com.xwaf.platform.common.service.service.TreeService;
import com.xwaf.platform.system.api.entity.pay.Region;
import com.xwaf.platform.system.api.service.pay.RegionService;
import com.xwaf.platform.system.provider.dao.pay.RegionDao;

@Service(value = "regionService")
public class RegionServiceImpl extends TreeService<RegionDao, Region> implements RegionService {

	@Autowired
	private RegionDao regionDao;

	@Override
	public Page<Region> selPageList(Page<Region> page, Region region) {
		List<Region> list = regionDao.selPageList(page, region);
		page.setRecords(list);
		return page;
	}
}